Skip to main content

shadowPixel

Type

property

Summary

Specifies which entry in the color table is used for the color of an object's drop shadow or the background of a scrollbar.

Syntax

set the shadowPixel of <object> to <colorNumber>

Description

Use the shadowPixel property to change the shadow color of an object when the bit depth of the screen is 8 bits (256 colors) or less.

The shadowPixel property specifies which entry in the color table is used for an object's shadow color. It is similar to the shadowColor property, but is specified as an entry in the current color table, rather than as a color reference.

The color table can be set by changing the colorMap property.

Examples

set the shadowPixel of this card to 200

property: borderPixel, shadowColor

glossary: object, property, bit depth, background, bit, color reference, color table

keyword: scrollbar, integer

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?